//
//  SYResourcesHeaderView.h
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/23.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, SYResourcesHeaderType) {
    SYResourcesHeaderTypeDetails = 0,//详情
    SYResourcesHeaderTypeXinDe //学习心得
};


typedef void(^SYResourcesHeaderBlock)(SYZiYuanShenQingModel *zyModel,SYResourcesHeaderType type);


@interface SYResourcesHeaderView : UIView

@property (copy, nonatomic) SYResourcesHeaderBlock block;

@property (strong, nonatomic) SYZiYuanShenQingModel *zyModel;

- (void)resourcesHeaderViewIndexPath:(NSInteger)index ziyuanmodel:(SYZiYuanShenQingModel *)zyModel;


@end
